home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / g / gnu_c / gpplib22.zoo / libsrc / makefile.32 < prev    next >
Encoding:
Makefile  |  1993-11-30  |  928 b   |  42 lines

  1. # Makefile for the atariST g++  library (32 bit int default)
  2.  
  3. GXX= gcc
  4. CC= gcc
  5. CPP= gcc-cpp
  6. AR= gcc-ar
  7. AS= $(CC)
  8.  
  9. LIB = d:/gnu/lib
  10. GXXLIB = $(LIB)
  11.  
  12. # common subset of options; no int size or omit-frame-pointer:
  13. COMMONOPT = -O2 -fstrength-reduce
  14. COMMONFLAGS = -I$(GXXINC)
  15. COMMONDEFINES = -DNDEBUG
  16.  
  17. COPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES)  \
  18.        $(XFLAGS)
  19.  
  20. GXXOPTS= $(COMMONOPT) $(COMMONFLAGS) $(COMMONDEFINES)  \
  21.          $(XXFLAGS)
  22.  
  23. # Base options CC; includes int size but not omit-frame-pointer
  24. CFFLAGS = $(COPTS)
  25. GXXFFLAGS = $(GXXOPTS) 
  26.  
  27. # normal CFLAGS including int size and omit-frame-pointer
  28. CFLAGS= $(CFFLAGS) -fomit-frame-pointer
  29. GXXFLAGS = $(GXXFFLAGS) -fomit-frame-pointer
  30.  
  31. # cflags for stuff that needs to be compiled with 32 bit ints
  32. CLFLAGS= $(CFLAGS)
  33. GXXLFLAGS = $(GXXFLAGS)
  34.  
  35. # flags to $(CC) when it runs the assembler only
  36. ASFLAGS= -c
  37.  
  38. # pre-processor flags
  39. PPFLAGS= -P # -DNDEBUG
  40.  
  41. include mincl
  42.